package com.example.youxuehu.config;

import com.example.youxuehu.bean.Youxuehu;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class YouxuehuConfig {
    @Bean
    public Youxuehu getYouxuehu() {
        Youxuehu youxuehu = new Youxuehu();
        youxuehu.setId(1);
        youxuehu.setUserName("youxuehu");
        youxuehu.setUserNumber("WB520289");
        return youxuehu;
    }
}
